package com.example.ljw.paperlive.ui.famliy;

import com.example.ljw.paperlive.base.IBaseMoudle;
import com.example.ljw.paperlive.base.IBasePresenter;
import com.example.ljw.paperlive.base.IBaseView;
import com.example.ljw.paperlive.bean.FamliyBean;

import java.util.Map;

import rx.Observable;

/**存放MVP的接口
 * Created by LJW on 2016/11/24.
 */

public class FamliyContract {
    public static interface IFamliyModel extends IBaseMoudle{
        Observable<FamliyBean> getFamliyData(Map<String,String> map);
    }
    public static interface IFamliyPresenter extends IBasePresenter{
        void getFamliyData (Map<String,String> map);
    }
    public static interface IFamliyView extends IBaseView{
        void showProgressBar();

        void hideProgressBar();

        void error(Throwable e);

        void getFamliyData(FamliyBean famliyBean);
    }

}
